package com.kn.sys.mapper;

import com.kn.sys.model.RolePermissiom;
import com.kn.sys.model.RolePermissiomExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RolePermissiomMapper {
    long countByExample(RolePermissiomExample example);

    int deleteByExample(RolePermissiomExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RolePermissiom record);

    int insertSelective(RolePermissiom record);

    List<RolePermissiom> selectByExample(RolePermissiomExample example);

    RolePermissiom selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RolePermissiom record, @Param("example") RolePermissiomExample example);

    int updateByExample(@Param("record") RolePermissiom record, @Param("example") RolePermissiomExample example);

    int updateByPrimaryKeySelective(RolePermissiom record);

    int updateByPrimaryKey(RolePermissiom record);
}